﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    namespace="Guoc.DAL.Domain" assembly="Guoc.DAL">

  <class name="Menu" table="sys_Menu">
    <id name="ID">
      <column name="MenuID" sql-type="char(36)" not-null="true"/>
      <generator class ="assigned"/>
      <!--默认添加时在代码中分配一个Guid.ToString()  -->
    </id>

    <property name="Title" />
    <property name="Sequence" />
    <property name="ParentID" />
    <property name="IsShow" />
    <property name="CreateTime"   />
    <property name="Url"  />
     
  </class>

</hibernate-mapping>